//
//  ViewController.m
//  AFNetworkingTool
//
//  Created by 张国梁 on 15/11/4.
//  Copyright © 2015年 CoderGL. All rights reserved.
//

#import "ViewController.h"
#import "OperationServers.h"
#import "MJExtension.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    // 请求参数
    NSMutableDictionary *param = [NSMutableDictionary dictionary];
    param[@"column_id"] = @0;
    
    // 业务处理
    [OperationServers doSomethingWithParams:param success:^(id model) {
        NSLog(@"%@", model);
    } failure:^{
        NSLog(@"失败");
    }];
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
